﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Utility;

namespace Client
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var f = new frmNhapTen();
            var r = f.ShowDialog();
            if (r == DialogResult.OK)
            {
                var client = new ClientComputer()
                    {
                        Client = f.client,
                        UserName = f.UserName
                    };
             new frmClient(client).ShowDialog();
            }
        }
    }
}
